package org.hzz.promotions.types.req;

import com.alibaba.fastjson2.annotation.JSONField;
import io.gitee.pkmer.convention.page.query.PageQuery;
import io.gitee.pkmer.fastjson2.enums.BaseEnumReader;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hzz.promotions.types.enums.code.UserCouponStatus;

/**
 * @author <a href="mailto:1193094618@qq.com">pkmer</a>
 * <br>
 * <a href = "https://gitee.com/developeros/videos-online">Code Repository</a>
 * At 2024/9/4
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserCouponPageReq extends PageQuery {
    @Schema(description = "优惠券使用状态",example = "1")
    @JSONField(deserializeUsing = BaseEnumReader.class)
    UserCouponStatus status;
}
